/**
 * Company
 * Copyright (C) 1992-2020 All Rights Reserved.
 */
package com.yinhai.mycat_test.tools;

/**
 * @author wanggan@yinhai.com
 * @version 1.0
 * @date 2020/4/11 11:42
 * @since JDK1.8
 */
public class SleepTools {
    
    public static void second(long second){
        try {
            Thread.sleep(second*1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
    
    public static void ms(int ms){
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
    
}
